package OptionalPic;

/**
 * @projectName: Java8
 * @package: OptionalPic
 * @className: Girl
 * @author: 冷环渊 doomwatcher
 * @description: TODO
 * @date: 2021/12/13 0:33
 * @version: 1.0
 */
public class Girl {
    private String name;

    @Override
    public String toString() {
        return "Girl{" +
                "name='" + name + '\'' +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Girl() {
    }

    public Girl(String name) {
        this.name = name;
    }
}
